package com.wangzefeng.shop.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 流程业务表
 * </p>
 *
 * @author wangzefeng
 * @since 2021-03-18
 */
public class WorkflowBusiness implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "business_id", type = IdType.AUTO)
    private Integer businessId;

    private Integer workflowId;

    private Integer dataId;

    /**
     * 创建时间
     */
    private Date createTime;

    private Integer createUserId;

    /**
     * 用户昵称
     */
    private String createUserName;

    /**
     * 状态
     */
    private Integer status;


    public Integer getBusinessId() {
        return businessId;
    }

    public void setBusinessId(Integer businessId) {
        this.businessId = businessId;
    }

    public Integer getWorkflowId() {
        return workflowId;
    }

    public void setWorkflowId(Integer workflowId) {
        this.workflowId = workflowId;
    }

    public Integer getDataId() {
        return dataId;
    }

    public void setDataId(Integer dataId) {
        this.dataId = dataId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getCreateUserId() {
        return createUserId;
    }

    public void setCreateUserId(Integer createUserId) {
        this.createUserId = createUserId;
    }

    public String getCreateUserName() {
        return createUserName;
    }

    public void setCreateUserName(String createUserName) {
        this.createUserName = createUserName;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return "WorkflowBusiness{" +
        "businessId=" + businessId +
        ", workflowId=" + workflowId +
        ", dataId=" + dataId +
        ", createTime=" + createTime +
        ", createUserId=" + createUserId +
        ", createUserName=" + createUserName +
        ", status=" + status +
        "}";
    }
}
